home *** CD-ROM | disk | FTP | other *** search
- global HAND_CURSOR, GRAB_CURSOR, GRAB_CH, gnNumPieces
-
- on mouseEnter
- cursor([HAND_CURSOR, HAND_CURSOR + 1])
- end
-
- on mouseLeave
- cursor(0)
- end
-
- on mouseDown me
- set gnNumPieces to gnNumPieces - 1
- cursor([GRAB_CURSOR, GRAB_CURSOR + 1])
- set the member of sprite GRAB_CH to the member of sprite the spriteNum of me
- set the loc of sprite GRAB_CH to the loc of sprite the spriteNum of me
- MoveItemsUP(the spriteNum of me)
- DragItem(me)
- cursor([HAND_CURSOR, HAND_CURSOR + 1])
- end
-